import java.util.concurrent.locks.ReentrantLock;

public class ReentrantLockExample {

    public static void main(String[] args) {
        ReentrantLock lock = new ReentrantLock();


        try {
            lock.lock();
        } finally {
            lock.unlock();
        }
    }

}
